﻿using System.Collections.Generic;
using System.Xml.Serialization;
using Yun.Domain;
using Yun.Response;

namespace Yun.Marketing.Response
{
    [XmlRoot("get_user_redenvelope_summary_response")]
    public class GetUserRedEnvelopeSummaryResponse : YunResponse
    {
        /// <summary>
        /// 用户信息
        /// </summary>
        [XmlElement("user_profile")]
        public UserProfile UserProfile { get; set; }


        /// <summary>
        /// 接收红包金额
        /// </summary>
        [XmlArray("receive_red_envelope_amounts")]
        [XmlArrayItem("receive_red_envelope_amountt")]
        public List<RedEnvelopeAmount> ReceiveRedEnvelopeAmounts { get; set; }

        /// <summary>
        /// 发出红包金额
        /// </summary>
        [XmlArray("issue_red_envelope_amounts")]
        [XmlArrayItem("issue_red_envelope_amount")]
        public List<RedEnvelopeAmount> IssueRedEnvelopeAmounts { get; set; }
    }
}
